/*
 * Created on Sun Sep 17 2017
 * 
 * Copyright (c) 2017 jianglinjie
 */
'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _NetClient = require('./NetClient');

var _NetClient2 = _interopRequireDefault(_NetClient);

var _NetStrategyType = require('../strategy/NetStrategyType');

var NetStrategyType = _interopRequireWildcard(_NetStrategyType);

var _NetStrategyFactory = require('../strategy/NetStrategyFactory');

var _NetStrategyFactory2 = _interopRequireDefault(_NetStrategyFactory);

function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.default = new _NetClient2.default(_NetStrategyFactory2.default.createStrategy(NetStrategyType.FETCH));